package com.lzw.breezeNovel.model.enums.user;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.enums
 * @date 2025/3/7
 * @description 用户的类型
 */
@SuppressWarnings("all")
public enum AdminType {

    ADMIN(1,"管理员"),

    USER(2,"普通用户");

    private Integer code;

    private String desc;

    AdminType(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

}
